/*
 * Copyright (c) 2023 HiSilicon (Shanghai) Technologies CO., LIMITED.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Description: print base define header file.
 * Create: 2023-01-01
 */

#ifndef __OAL_DEBUG_BASE_H__
#define __OAL_DEBUG_BASE_H__

#include "td_base.h"

#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif

enum PLAT_LOGLEVLE {
    PLAT_LOG_EMERG = 0,
    PLAT_LOG_ALERT = 1,
    PLAT_LOG_CRIT = 2,
    PLAT_LOG_ERR = 3,
    PLAT_LOG_WARNING = 4,
    PLAT_LOG_NOTICE = 5,
    PLAT_LOG_INFO = 6,
    PLAT_LOG_DEBUG = 7,
};

enum BUG_ON_CTRL {
    BUG_ON_DISABLE = 0,
    BUG_ON_ENABLE  = 1,
};

extern volatile td_s32 g_plat_loglevel_etc;
extern td_s32 g_bug_on_enable_etc;

#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif

#endif /* end of oal_debug_base.h */

